$(".share .lt").click(function(){
    if($(this).children("span").text()=="签到"){
    	var that = this;
    	//触发ajax
        $.ajax({
            url:"/index.php?m=Home&c=PointsGoods&a=user_sign",
            data:{},
            dataType:'json',
            type:'post',
            success:function(msg){
            	if (msg.status == 1) {
            		prompt("签到成功，积分+5");
       				$(that).children("span").text("已签到");
       				window.location.reload();
            	}else {
            		prompt(msg.msg);
            	}
            }
        });
    }
});



//todo 点击分享 按钮 ，弹出提示图片
$(".share .rt").click(function(){
    location.href="wxDistributionPoster.html";
});
$(".shareImg").click(function(){
    $(this).hide();
});